package com.lu.pojo.enumerate;

/**
 * @author luzhenfang
 * @date 2020 07 06
 * @description  枚举类型测试类
 */
public class TestEnum {
    public static void main(String[] args) {
        for (Season value : Season.values()) {
            System.out.println(value.getId());
            System.out.println(value.getName());
            System.out.println(value.ordinal());
            System.out.println("---------------");
        }
    }
}
